import request from '@/utils/request'

// 查询本公司车辆列表列表
export function listVehicleYong(query) {
  return request({
    url: '/system/vehicleYong/list',
    method: 'get',
    params: query
  })
}

// 查询本公司车辆列表详细
export function getVehicleYong(vehicleId) {
  return request({
    url: '/system/vehicleYong/' + vehicleId,
    method: 'get'
  })
}

// 新增租赁订单
export function addOrders(data) {
  return request({
    url: '/system/orders',
    method: 'post',
    data: data
  })
}
